<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title id="title">数据质量管理系统</title>
    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html"/>
    <![endif]-->
    <link href="img/favicon.ico?v=1.0.0" rel="shortcut icon">
    <link href="css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
    <link href="css/animate.min.css" rel="stylesheet">
    <link href="css/style.min862f.css?v=4.1.0" rel="stylesheet">
    <link href="css/style.winning.css?v=1.0.0" rel="stylesheet">
    <link href="fonts/ali-iconfont/iconfont.css?v=1.0.0" rel="stylesheet">
    <link href="helpCenter.css?v=1.0.0" rel="stylesheet">
</head>

<body style="overflow:auto">
<div id="loading" class="loading">
    <p style="margin-left:10px;margin-top:15px">加载数据中,请稍后......</p>
</div>
<div id="wrapper" style="background-color: white">
    <div style="background-color: #0c91e5;height: 50px">
        <div>
            <div id="YyLogo" class="navbar-brand" style="float:left;padding-left: 10px;padding-right: 10px;padding-top: 10px;">
                <img src="img/logo.png"  alt=""  onerror="this.src='img/logo.png'"  style="width: 24px;height: 30px;">
            </div>
            <div id="zsmc"  class="navbar-brand" style="float:left;width:auto;padding-left: 1px;padding-top: 15px;height: 40px; font-size:16px ; color:#ffffff;">
                <a href="index.html" style="color:#ffffff">数据质量管理系统</a>
                <span style="color:#ffffff;margin-left: 20px">帮助中心</span>
            </div>
        </div>

        <div style="float: right;width:auto;padding-left: 1px;padding-top: 15px;height: 40px; font-size:16px ; color:#ffffff;">
            <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal" onclick="setHtmltoEditor()" style="visibility: hidden">
                添加帮助文档
            </button>
        </div>
    </div>

    <div class="top_search">
        <div style="position: center;padding-top: 15px ">
            <input id="input" type="text" class="help_search" placeholder="请输入关键词" v-model="searchkey" />
            <button onclick="searchByKey()">搜索</button>
        </div>
    </div>

    <div style="width: 100%;height: auto">
        <div class="navbar-default navbar-static-side navbar_left" role="navigation" style="background-color: white">
            <div class="sidebar-collapse">
                <ul class="nav-second-wn" id="side-menu">
                </ul>
            </div>
        </div>

        <div id ="div_content" class="body_right">
            暂无数据
        </div>
    </div>
</div>

<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" data-backdrop="static">
    <div class="modal-dialog" style="width: 100%;height: 100%">
        <div class="modal-content">
            <div class="modal-header" style="text-align: center">
                <button data-dismiss="modal" class="close" type="button"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <h4 class="modal-title">新增帮助文档</h4>
            </div>
            <div id="div">
            </div>
            <div class="modal-footer">
                <button data-dismiss="modal" class="btn btn-default" type="button" onclick="getHtml()">格式预览</button>
                <button class="btn btn-primary" type="button" onclick="confirm()">提交</button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
</div>

<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="platcommon/common.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js?v=3.3.6"></script>
<script type="text/javascript" src="js/plugins/metisMenu/jquery.metisMenu.js"></script>
<script type="text/javascript" src="js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
<script type="text/javascript" src="js/plugins/layer/layer.min.js"></script>
<script type="text/javascript" src="js/contabs.min.js"></script>
<script type="text/javascript" src="js/plugins/pace/pace.min.js"></script>
<script type="text/javascript" src="js/platform-index.js"></script>
<script type="text/javascript" src="fonts/ali-iconfont/iconfont.js"></script>
<script type="text/javascript" src="platcommon/layer-wn.js?v=1.0.0"></script>

<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/wangeditor@latest/dist/wangEditor.min.js"></script>
<script type="text/javascript" src="helpCenter.js"></script>
<script type="text/javascript">
    const E = window.wangEditor
    const editor = new E('#div');
    //  const editor = new E( document.getElementById('div1') )
   // editor.config.uploadImgServer = '/dqms/img/help-img';  //上传本地图片
    editor.create();
</script>
</body>
</html>
